package com.dofast.bt.base;

import com.dofast.bt.bean.SubData;

/**
 * Created by Administrator on 2016/10/14 0014.
 */

public class BaseBean<T>{

    /**
     * result : success
     * code : 1000
     * data : {}
     * msg :
     */

    private SubData subData;
    private int code;
    private T data;
    private Object msg;

    public SubData getSubData() {
        return subData;
    }
    public void setSubData(SubData subData) {
        this.subData = subData;
    }
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return (String) msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
